package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 职称变动
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_title_changes")
public class UTitleChanges extends Model<UTitleChanges> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 评审时间
     */
	@TableField("review_time")
	private String reviewTime;
    /**
     * 职称职级
     */
	@TableField("title_rank")
	private String titleRank;
    /**
     * 职称
     */
	private String title;
    /**
     * 职称系列
     */
	@TableField("title_series")
	private String titleSeries;
    /**
     * 评审单位
     */
	@TableField("review_unit")
	private String reviewUnit;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getReviewTime() {
		return reviewTime;
	}

	public void setReviewTime(String reviewTime) {
		this.reviewTime = reviewTime;
	}

	public String getTitleRank() {
		return titleRank;
	}

	public void setTitleRank(String titleRank) {
		this.titleRank = titleRank;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitleSeries() {
		return titleSeries;
	}

	public void setTitleSeries(String titleSeries) {
		this.titleSeries = titleSeries;
	}

	public String getReviewUnit() {
		return reviewUnit;
	}

	public void setReviewUnit(String reviewUnit) {
		this.reviewUnit = reviewUnit;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UTitleChanges{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", reviewTime=" + reviewTime +
			", titleRank=" + titleRank +
			", title=" + title +
			", titleSeries=" + titleSeries +
			", reviewUnit=" + reviewUnit +
			"}";
	}
}
